#ifndef __MEIAN_H__
#define __MEIAN_H__
#include "rtthread.h"

typedef enum
{
	MSG_LOGOIN_ACK,
}msgAckTypeDef;

typedef enum{
	SysStu_Logoin = (0x01 << 0),  //系统登录
	SysStu_HomeArm = (0x01 << 1), //在家布防
	SysStu_OutArm = (0x01 << 2),  //外出布防
	SysStu_NoneArm = (0x01 << 3), //撤防
	SysStu_Alarm = (0x01 << 4),   //系统报警
}sysStatusDef;


typedef struct
{
	rt_uint8_t type;
	rt_uint16_t len;
	rt_uint8_t *data;
}ackMailDef;

typedef enum
{
	STA_None_GUARD = 2,
	STA_HONE_GUARD = 1,
	STA_GOOUT_GUARD = 0,
	STA_ADD_DEV = 3,
}WorkStatusDef;

#endif